





<table class="layui-table">
    <colgroup>
        <col width="80">
        <col width="300">
        <col width="100">
        <col >
        <col >
        <col width="280">


    </colgroup>
    <thead>
    <tr>
        <th>序号</th>
        <th>名称</th>
        <th>状态</th>
        <th>开始时间-结束时间</th>
        <th>报价人数</th>
        <th>操作</th>

    </tr>
    </thead>
    <tbody>





    <?php
    for ($i = 0; $i < count($detail); $i++) {
        ?>




        <tr id="item<?echo $detail[$i]['nid']?>" <?if($applymodify['nid']){echo "style='color:red'";$status="审核中";}else{$status="正常";}?>>


            <td><?echo $i+1+$plate['page_list_num']*($nowpageid-1) ?></td>
            <td>
                <a href="../../unit/view/detail-statistic.php?sys_part=unit&nid=<?echo $detail[$i]['nid']?>">
                    <?echo $detail[$i]['name']?>
                </a>
            </td>

            <td><span  <?if($detail[$i]['status']=='进行中'){echo "class='layui-badge'  style='background-color:#ff9900'";}?>> <?echo $detail[$i]['status']?></span></td>

            <td><?echo substr($detail[$i]['startdate'],0,10)?> - <?echo substr($detail[$i]['enddate'],0,10)?>
                <span class="layui-badge layui-bg-green"><?echo count_days($detail[$i]['startdate'],$detail[$i]['enddate'])?>日</span>
            </td>



            <!--    用count by iem 去统计多少企业报价-->
            <td><?echo $detail[$i]['sum']?></td>











            <td>


                <a href="../../case/view/detail-info-quotation.php?nid=<? echo $detail[$i]['nid']?>
<?echo $pagenumber_url.$sortby_url.$navitemed_url.$system_part ?><?echo $url_str?>"
                   class="layui-btn  layui-btn-sm" target="_blank" ><i class="layui-icon">&#xe621;</i>报价
                </a>


            </td>
        </tr>
    <?}?>


    </tbody>
</table>
